package com.atguigu.gmall.order.mapper;

import com.atguigu.gmall.order.entity.OrderInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * @author weiranyi
 * @description 针对表【order_info(订单表 订单表)】的数据库操作Mapper
 * @createDate 2022-12-20 11:16:23
 * @Entity com.atguigu.gmall.order.entity.OrderInfo
 */
public interface OrderInfoMapper extends BaseMapper<OrderInfo> {

    // 关闭订单
    void updateOrderStatus(@Param("orderStatus") String orderStatus,
                           @Param("processStatus") String processStatus,
                           @Param("orderId") Long orderId,
                           @Param("userId") Long userId,
                           @Param("expectOrderStatus") List<String> expectOrderStatus,
                           @Param("expectProcessStatus") List<String> expectProcessStatus);
}




